//
//  XGCalendarHeaderView.h
//  SACalendar
//
//  Created by YaoZhaofeng on 15/4/17.
//  Copyright (c) 2015年 SyncoApp. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XGCalendarHeaderView;

@protocol XGCalendarHeaderViewDataSource <NSObject>
- (NSString *)titleForHeader:(XGCalendarHeaderView *)header;
@end

@protocol XGCalendarHeaderViewDelegate <NSObject>
- (void)forwardTapped;
- (void)backwardTapped;
@end

@interface XGCalendarHeaderView : UIView

@property (nonatomic, assign) id<XGCalendarHeaderViewDataSource> dataSource;
@property (nonatomic, assign) id<XGCalendarHeaderViewDelegate> delegate;

- (void)setHeaderTitle:(NSString*)title;
@end
